package tech.xs.workflow.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import tech.xs.common.framework.domain.entity.BaseEntity;
import tech.xs.workflow.domain.enums.BpmnNodeTypeEnum;

@Getter
@Setter
@ToString
@TableName("bpmn_sequence_flow")
public class BpmnSequenceFlow extends BaseEntity {

    /**
     * 流程id
     */
    private Long processId;

    /**
     * 节点id
     */
    private String nodeId;

    /**
     * 名称
     */
    private String name;

    /**
     * 起始节点
     */
    private String sourceRef;

    /**
     * 目标节点
     */
    private String targetRef;

    /**
     * 起始节点类型
     */
    private BpmnNodeTypeEnum sourceNodeType;

    /**
     * 目标节点类型
     */
    private BpmnNodeTypeEnum targetNodeType;

}
